<?php

// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');

// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
$configDir = dirname(__FILE__);
$applicationDir = dirname($configDir);

return CMap::mergeArray(require($configDir . '/base.php'),
	array(
		// 	'modules'=>array(
		// 		'core',
		// 	),
		'extensionPath' => $applicationDir . '/common/extensions',
		'controllerPath' => $applicationDir . '/web/controllers',
		'viewPath' => $applicationDir . '/web/views',
		// application components
		'components' => CMap::mergeArray(require($configDir . '/components/application.php'),
			require($configDir . '/components/web.php')),
		// application-level parameters that can be accessed
		// using Yii::app()->params['paramName']
		'params' => array(
			// this is used in contact page
			'adminEmail' => 'webmaster@example.com',
		),
	));
